/* 
 * File:	main.c
 * Authors: Johan Dahlberg <S102591>
 *				Daniel Jansson <S102496>
 * ---------------------------------
 * 
 */
#include "genlib.h"
#include "simpio.h"

#include "graycode.h"

/* Codes */

main() {
	int menu;

	while(TRUE) {
		printf("Johan Dahlberg, <S102591>\nDaniel Jansson, <S102496>\n\n--------------------\n1. Graycode\n0. Quit\n\nYou're choice: ");
		menu = GetInteger();
		system ( "cls" );

		switch(menu) {
			case 0:
				return;
				break;
			case 1:
				graycode();
				break;
			default:
				break;
		}
	}
}